// hash_int.rs

/// Generate a hash key for a pointer to an integer. The value pointed at is used to generate the key.
///
/// # Safety
/// The caller must ensure that `location` points to a valid `i32`.
pub unsafe fn int_hash(location: *const i32) -> u32 {
    location.read() as u32
}
